<?php
	('Access-Control-Allow-Origin：*');
    include("../config/mysql.php");
    $id = $_POST["id"];
    $ids = $_POST["ids"];
    $db = new mysql();
    if ($ids) {
        foreach ($ids as $value) {
            $sql = "delete from examaccount where id='{$value}'";
            $db->Query($sql);
        }
        echo 1;
    }else{
        $sql = "delete from examaccount where id='{$id}'";
        echo $db->Query($sql);
    }
    $db->close();
?>